//使用循环输出九九乘法表,输出如下结果:
//1x1=1
//2x1=2,2x2=4
//3x1=3,3x2=6,3x3=9
//......
//9x1=9,9x2=18,9x3=27,... 9x9=81
public class Number1
{
	public static void main(String[] args) {
		for (int i = 1;i<=9 ;i++ ) {
			for (int j =1;j<=i ;j++) {
				//打印输出ixj=结果
				if (i==j) {
					System.out.print(i+"x"+j+"="+(i*j));
				}else{
					System.out.print(i+"x"+j+"="+(i*j)+",");
				}
			}
			//换行
			System.out.println();
		}
	}
}